using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Finance.DTO.FinanceCategory;

/// <summary>
///     账目分类新增模型
/// </summary>
public class FinanceCategoryAddDTO
{
    /// <summary>
    ///     分类名称
    /// </summary>
    [Required(ErrorMessage = "分类名称不可为空")]
    public string CategoryName { get; set; }
}